package com.fengyi.homefurnish.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by ${郝庚鑫} on 2017/10/29.
 */
@Controller
public class DispatcherController {

    @RequestMapping("/{folder}/{page}/index")
    public String forwoard(@PathVariable("folder")String folder, @PathVariable("page")String page){
        return folder+"/"+page;
    }
}
